package com.p2p.backend.dao;

import java.util.List;
import java.util.Map;

import com.p2p.backend.model.P2PRecharge;
import com.p2p.base.dao.BaseMapper;
import com.p2p.base.page.PageVo;

public interface P2PRechargeDao extends BaseMapper{

	void saveP2PRecharge(P2PRecharge p2pRecharge);
	
	P2PRecharge findP2PRechargeById(Long id);
	
	void updateP2PRecharge(P2PRecharge p2pRecharge);

	List<Map<String,Object>> listPage(PageVo form);
	
	List<P2PRecharge> listPageForResultMap(PageVo form);
	
	Long sumForCondition(Map<String,Object> parames);
}
